package com.tre.jdevtemplateboot.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 熊一鸣
 * @since 2023-11-15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SpEmployeeRoleRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String employeeAccount;

    private String companyId;

    private String organizationRelationId;

    private String roleId;

    private LocalDateTime createDate;

    private String createPerson;

    private LocalDateTime editDate;

    private String editPerson;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getEmployeeAccount() {
        return employeeAccount;
    }

    public void setEmployeeAccount(String employeeAccount) {
        this.employeeAccount = employeeAccount;
    }
    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
    public String getOrganizationRelationId() {
        return organizationRelationId;
    }

    public void setOrganizationRelationId(String organizationRelationId) {
        this.organizationRelationId = organizationRelationId;
    }
    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }
    public String getCreatePerson() {
        return createPerson;
    }

    public void setCreatePerson(String createPerson) {
        this.createPerson = createPerson;
    }
    public LocalDateTime getEditDate() {
        return editDate;
    }

    public void setEditDate(LocalDateTime editDate) {
        this.editDate = editDate;
    }
    public String getEditPerson() {
        return editPerson;
    }

    public void setEditPerson(String editPerson) {
        this.editPerson = editPerson;
    }

    @Override
    public String toString() {
        return "SpEmployeeRoleRelation{" +
            "id=" + id +
            ", employeeAccount=" + employeeAccount +
            ", companyId=" + companyId +
            ", organizationRelationId=" + organizationRelationId +
            ", roleId=" + roleId +
            ", createDate=" + createDate +
            ", createPerson=" + createPerson +
            ", editDate=" + editDate +
            ", editPerson=" + editPerson +
        "}";
    }
}
